﻿
#include "StdAfx.h"
using namespace System::Windows;
using namespace System::Windows::Markup;
using namespace Microsoft::VisualStudio::TestTools::UnitTesting;
using namespace WpfApplication2;
namespace Tester {
    using namespace System;
    ref class MainWindowTest;
    
    
    /// <summary>
///This is a test class for MainWindowTest and is intended
///to contain all MainWindowTest Unit Tests
///</summary>
	[TestClass]
	public ref class MainWindowTest
	{

	private: Microsoft::VisualStudio::TestTools::UnitTesting::TestContext^  testContextInstance;
			 /// <summary>
			 ///Gets or sets the test context which provides
			 ///information about and functionality for the current test run.
			 ///</summary>
	public: property Microsoft::VisualStudio::TestTools::UnitTesting::TestContext^  TestContext
			{
				Microsoft::VisualStudio::TestTools::UnitTesting::TestContext^  get()
				{
					return testContextInstance;
				}
				System::Void set(Microsoft::VisualStudio::TestTools::UnitTesting::TestContext^  value)
				{
					testContextInstance = value;
				}
			}

#pragma region Additional test attributes
			// 
			//You can use the following additional attributes as you write your tests:
			//
			//Use ClassInitialize to run code before running the first test in the class
			//public: [ClassInitialize]
			//static System::Void MyClassInitialize(TestContext^  testContext)
			//{
			//}
			//
			//Use ClassCleanup to run code after all tests in a class have run
			//public: [ClassCleanup]
			//static System::Void MyClassCleanup()
			//{
			//}
			//
			//Use TestInitialize to run code before running each test
			//public: [TestInitialize]
			//System::Void MyTestInitialize()
			//{
			//}
			//
			//Use TestCleanup to run code after each test has run
			//public: [TestCleanup]
			//System::Void MyTestCleanup()
			//{
			//}
			//
#pragma endregion
			/// <summary>
			///A test for MainWindow Constructor
			///</summary>
	public: [TestMethod]
			void MainWindowConstructorTest()
			{
				MainWindow^  target = (gcnew MainWindow());
				Assert::Inconclusive(L"TODO: Implement code to verify target");
			}
			/// <summary>
			///A test for InitializeComponent
			///</summary>
	public: [TestMethod]
			void InitializeComponentTest()
			{
				MainWindow^  target = (gcnew MainWindow()); // TODO: Initialize to an appropriate value
				target->InitializeComponent();
				Assert::Inconclusive(L"A method that does not return a value cannot be verified.");
			}
			/// <summary>
			///A test for System.Windows.Markup.IComponentConnector.Connect
			///</summary>
	public: [TestMethod]
			[DeploymentItem(L"WpfApplication2.exe")]
			void ConnectTest()
			{
				IComponentConnector^  target = (gcnew MainWindow()); // TODO: Initialize to an appropriate value
				int connectionId = 0; // TODO: Initialize to an appropriate value
				Object^  target1 = nullptr; // TODO: Initialize to an appropriate value
				target->Connect(connectionId, target1);
				Assert::Inconclusive(L"A method that does not return a value cannot be verified.");
			}
			/// <summary>
			///A test for button2_Click
			///</summary>
	public: [TestMethod]
			[DeploymentItem(L"WpfApplication2.exe")]
			void button2_ClickTest()
			{
				MainWindow_Accessor^  target = (gcnew MainWindow_Accessor()); // TODO: Initialize to an appropriate value
				Object^  sender = nullptr; // TODO: Initialize to an appropriate value
				RoutedEventArgs^  e = nullptr; // TODO: Initialize to an appropriate value
				target->button2_Click(sender, e);
				Assert::Inconclusive(L"A method that does not return a value cannot be verified.");
			}
	};
}
namespace Tester {
    
}
